package com.course.redis.model.base;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体对象公共属性
 */
public class BaseModel implements Serializable {

    private Integer id;

    private Date createDate;

    private Date updateDate;

    private int isValid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public int getIsValid() {
        return isValid;
    }

    public void setIsValid(int isValid) {
        this.isValid = isValid;
    }
}